<%-- 
    Document   : header
    Created on : 14/Jan/2012, 14:12:41
    Author     : sexta13
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!-- Start Header -->
 <s:set name="nomeUtilizador" value="%{#session.utilizador.nome}"/>

        <div id="header">
            <div class="container">
                <h1><a href="#" title="ECOBUSINESS">RSS Agreggator<span></span></a></h1>
                 <s:if test="%{#nomeUtilizador!=null}">
                               <h1 style="margin-left: 220px; font-size: 14px;"> Bem vindo, <s:property value="%{#session.utilizador.nome}"/></h1>
                
                            </s:if>
                            
                <hr />
                
                <!-- top navigation -->
                <ul id="navigation">
                    <li class="active"><a href="#" title="Home">Home</a></li>
                    <li><div id="basic-modal-login">	
                            <s:if test="%{#nomeUtilizador==null}">
                            <a class="basicLogin" href="#" title="About">Login</a>
                            </s:if>
                            <s:else>
                               <a href="<s:url action="LogoutAction"/>" title="About">Logout</a> 
                            </s:else>
                        </div>
                    </li>
                    <li><a href="#" title="About">Tutorial</a></li>
                </ul>
                <hr />
                <!-- banner message and building background -->
                <div id="banner">                   
                    <br/><br/><br/><br/>
                    Welcome to Rss Feeds Agreggator. Here you can see the feeds that you really want to see.    
                </div>
                <hr />
            </div>
        </div>
